class PromCommonUtils():
    """  PromCommonUtils
    """
    def __init__(self):
        pass


    @classmethod
    def get_alarm_set_name(cls, data_info: dict):
        return f"{data_info['name']}"


    @classmethod
    def get_alarm_group_name(cls, data_info: dict, template_info: dict):
        return f"{template_info['type']}.{data_info['name']}.template-{template_info['uuid']}"


    @classmethod
    def get_alarm_rule_name(cls, data_info: dict, template_info: dict, strategy_info: dict):
        return f"{template_info['type']}.{data_info['name']}.template-{template_info['uuid']}.strategy-{strategy_info['uuid']}"




def main():
    pass


if __name__ == "__main__":
    main()
